using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("FriendUtils")]
	public class FriendUtils : MonoClass
	{
		public FriendUtils(IntPtr address, string className)
			: base(address, className)
		{
		}

		public FriendUtils(IntPtr address)
			: this(address, "FriendUtils")
		{
		}

		public static string GetUniqueName(BnetPlayer friend)
		{
			return MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetUniqueName", new Class276.Enum20[1] { Class276.Enum20.Class }, friend);
		}

		public static string GetUniqueNameWithColor(BnetPlayer friend)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetUniqueNameWithColor", friend);
		}

		public static string GetBattleTagWithColor(BnetBattleTag battleTag, string nameColorStr)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetBattleTagWithColor", battleTag, nameColorStr);
		}

		public static string GetFriendListName(BnetPlayer friend, bool addColorTags)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetFriendListName", friend, addColorTags);
		}

		public static string GetRequestElapsedTimeString(long epochMicrosec)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetRequestElapsedTimeString", epochMicrosec);
		}

		public static string GetLastOnlineElapsedTimeString(long epochMicrosec)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetLastOnlineElapsedTimeString", epochMicrosec);
		}

		public static string GetAwayTimeString(long epochMicrosec)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "FriendUtils", "GetAwayTimeString", epochMicrosec);
		}

		public static int FriendSortCompare(BnetPlayer friend1, BnetPlayer friend2)
		{
			return MonoClass.smethod_14<int>(TritonHs.MainAssemblyPath, "", "FriendUtils", "FriendSortCompare", new object[2] { friend1, friend2 });
		}

		public static int FriendNameSort(BnetPlayer friend1, BnetPlayer friend2)
		{
			return MonoClass.smethod_14<int>(TritonHs.MainAssemblyPath, "", "FriendUtils", "FriendNameSort", new object[2] { friend1, friend2 });
		}

		public static bool IsValidEmail(string emailString)
		{
			return MonoClass.smethod_14<bool>(TritonHs.MainAssemblyPath, "", "FriendUtils", "IsValidEmail", new object[1] { emailString });
		}

		public static int FriendNameSortCompare(BnetPlayer friend1, BnetPlayer friend2)
		{
			return MonoClass.smethod_14<int>(TritonHs.MainAssemblyPath, "", "FriendUtils", "FriendNameSortCompare", new object[2] { friend1, friend2 });
		}
	}
}
